package com.th.supcom.pds.auditprescription.client.service;

import java.util.List;

import net.carefx.framework.container.client.exception.UiException;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.auditprescription.client.model.InPatientInfoModel;
import com.th.supcom.pds.common.client.model.PdsSupplyDetailModel;
import com.th.supcom.pds.common.client.model.PdsSupplyModel;
import com.th.supcom.pds.internal.client.model.ResultModel;

/**
 * @author yzhang
 */
public interface AuditPrescripRpcAsync
{

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    /**
     * 处方审核
     * @param model
     * @param callback
     * @throws UiException
     */
    void checkPresc(PdsSupplyModel model, String checkFlag, AsyncCallback <String> callback);
    
    /**
     * 通过给定的model 查询 处方信息
     * 
     * @param model
     * @param callback
     */
    void findPrescDetailInfoByPrescId (PdsSupplyModel model, AsyncCallback <ResultModel> callback);
}
